Support DEX orders on stellar client#119
Merged
AlaaElattar merged 24 commits intodevelopmentfrom May 4, 2025
Merged
Conversation
zaelgohary
reviewed
Dec 25, 2024
Collaborator
zaelgohary
left a comment
There was a problem hiding this comment.
Please fix analyze workflow. Also, can you replace prints with logger?
zaelgohary
reviewed
Jan 9, 2025
Collaborator
zaelgohary
left a comment
There was a problem hiding this comment.
I get insufficient balance although I have enough XLMs in my balance.
Also, USDC asset code is not added while adding trustline,
Logger is not working. I had to edit the logger value in client to the following for it to print.
var logger = Logger(
printer: PrettyPrinter(
methodCount: 2,
errorMethodCount: 8,
lineLength: 120,
colors: true,
printEmojis: true,
),
level: Level.debug,
filter: ProductionFilter(),
);
zaelgohary
reviewed
Jan 13, 2025
zaelgohary
reviewed
Jan 13, 2025
Collaborator
Contributor
Author
Contributor
Author
…dk-dart into development_order_book
…rs/tfgrid-sdk-dart into development_order_book
zaelgohary
requested changes
Feb 9, 2025
Collaborator
There was a problem hiding this comment.
- Can we add Docs to the PR? Please, don't forget to handle the units we use in creating/updating orders.
- When creating order with price '.0001; I get the following err: (It leads the leading 0. Needs to be mentioned in the docs)
- When creating account through threefold service on Testnet, it failed to add USDC asset.
- Amount before and after create order does not match the price
Contributor
Author
Contributor
Author
|
zaelgohary
approved these changes
Feb 19, 2025
Collaborator
zaelgohary
left a comment
There was a problem hiding this comment.
Good job, @AlaaElattar!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## development #119 +/- ##
==============================================
Coverage ? 62.78%
==============================================
Files ? 26
Lines ? 1177
Branches ? 0
==============================================
Hits ? 739
Misses ? 438
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
AhmedHanafy725
approved these changes
May 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.














Description
Changes
createOrder, user can create buy/sell orders for specific assets.cancelOrder, user can cancel specific order with its id.getOrderBook, user can get oder book of the conversion between any 2 assets.listMyOffers, user can list its offers.updateOrder, user can update an existing offer with its id.Related Issues
#112
Checklist